﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WWX.Dto.Search;
using WWX.Model;

namespace WWX.Admin.IDAL
{
    public interface IProductDAL
    {
        Product Get(string id);

        Product GetByNo(string no);

        void Add(Product product);

        void Delete(string id);

        void Update(Product product);

        List<Product> GetPageList(ProductAdminSearch search, int pageNo, int pageSize, out int total);
    }
}
